#include "Card.h"

Card::Card(QDomElement cardElement)
{
    //set the imagefilename from the xml attribute
    ImageFileName = *(new QString(cardElement.attributeNode("ImageKey").value()));
    //retrieve all action elements at current level
    QDomNodeList actionNodeList = cardElement.childNodes();
    //iterate over each action in the list
    for(int i = 0; i < actionNodeList.count(); i++)
    {

    }
}

Card::~Card()
{

}
